<?php
namespace core\strategy\gender;

use core\strategy\UserStrategy;

class FemaleUser implements UserStrategy
{
	public function output()
	{
		return "<div>
			<h2>{$this->showAd()}</h2>
			<div>
				{$this->showBanner()}
			</div>
		</div>";
	}

	function showAd()
	{
		echo "2021夏季流行女装" . PHP_EOL;
	}

	function showBanner()
	{
		echo "<img src='https://image.maigoo.com/upload/images/20180713/14180256416_1310x663.jpg'>" . PHP_EOL;
	}
}